class CreateGroups < ActiveRecord::Migration[5.0]
  def change
    create_table :groups do |t|
      t.string  :name
      t.string  :group_leader
      t.string  :group_functions
      t.string  :group_signature
      t.string  :picture_path
      t.integer :level
      t.references :parent
      t.timestamps
    end
  end
end
